home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / AIncludes / TerminalTools.a < prev    next >
Encoding:
Text File  |  1997-08-12  |  2.8 KB  |  109 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        TerminalTools.a
  3. ;
  4. ;    Contains:    Communications Toolbox Terminal tools Interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Release:    Universal Interfaces 3.0.1
  8. ;
  9. ;    Copyright:    © 1988-1993, 1995-1997 by Apple Computer, Inc., all rights reserved
  10. ;
  11. ;    Bugs?:        Please include the the file and version information (from above) with
  12. ;                the problem description.  Developers belonging to one of the Apple
  13. ;                developer programs can submit bug reports to:
  14. ;
  15. ;                    devsupport@apple.com
  16. ;
  17. ;
  18.     IF &TYPE('__TERMINALTOOLS__') = 'UNDEFINED' THEN
  19. __TERMINALTOOLS__ SET 1
  20.  
  21.     IF &TYPE('__CONDITIONALMACROS__') = 'UNDEFINED' THEN
  22.     include 'ConditionalMacros.a'
  23.     ENDIF
  24.     IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
  25.     include 'Dialogs.a'
  26.     ENDIF
  27.     IF &TYPE('__TERMINALS__') = 'UNDEFINED' THEN
  28.     include 'Terminals.a'
  29.     ENDIF
  30.  
  31.  
  32. tdefType                        EQU        'tdef'
  33. tvalType                        EQU        'tval'
  34. tsetType                        EQU        'tset'
  35. tlocType                        EQU        'tloc'
  36. tscrType                        EQU        'tscr'
  37. tbndType                        EQU        'tbnd'
  38. tverType                        EQU        'vers'
  39.  
  40.                                                             ; messages 
  41. tmInitMsg                        EQU        0
  42. tmDisposeMsg                    EQU        1
  43. tmSuspendMsg                    EQU        2
  44. tmResumeMsg                        EQU        3
  45. tmMenuMsg                        EQU        4
  46. tmEventMsg                        EQU        5
  47. tmActivateMsg                    EQU        6
  48. tmDeactivateMsg                    EQU        7
  49. tmGetErrorStringMsg                EQU        8
  50. tmIdleMsg                        EQU        50
  51. tmResetMsg                        EQU        51
  52. tmKeyMsg                        EQU        100
  53. tmStreamMsg                        EQU        101
  54. tmResizeMsg                        EQU        102
  55. tmUpdateMsg                        EQU        103
  56. tmClickMsg                        EQU        104
  57. tmGetSelectionMsg                EQU        105
  58. tmSetSelectionMsg                EQU        106
  59. tmScrollMsg                        EQU        107
  60. tmClearMsg                        EQU        108
  61. tmGetLineMsg                    EQU        109
  62. tmPaintMsg                        EQU        110
  63. tmCursorMsg                        EQU        111
  64. tmGetEnvironsMsg                EQU        112
  65. tmDoTermKeyMsg                    EQU        113
  66. tmCountTermKeysMsg                EQU        114
  67. tmGetIndTermKeyMsg                EQU        115
  68.  
  69.                                                             ; messages for validate DefProc    
  70. tmValidateMsg                    EQU        0
  71. tmDefaultMsg                    EQU        1
  72.  
  73.                                                             ; messages for Setup DefProc    
  74. tmSpreflightMsg                    EQU        0
  75. tmSsetupMsg                        EQU        1
  76. tmSitemMsg                        EQU        2
  77. tmSfilterMsg                    EQU        3
  78. tmScleanupMsg                    EQU        4
  79.  
  80.                                                             ; messages for scripting defProc    
  81. tmMgetMsg                        EQU        0
  82. tmMsetMsg                        EQU        1
  83.  
  84.                                                             ; messages for localization defProc  
  85. tmL2English                        EQU        0
  86. tmL2Intl                        EQU        1
  87. TMSearchBlock            RECORD 0
  88. theString                 ds.l    1                ; offset: $0 (0)
  89. where                     ds        Rect            ; offset: $4 (4)
  90. searchType                 ds.w    1                ; offset: $C (12)
  91. callBack                 ds.l    1                ; offset: $E (14)
  92. refnum                     ds.w    1                ; offset: $12 (18)
  93. next                     ds.l    1                ; offset: $14 (20)
  94. sizeof                     EQU *                    ; size:   $18 (24)
  95.                         ENDR
  96. ; typedef struct TMSearchBlock *        TMSearchBlockPtr
  97.  
  98. TMSetupStruct            RECORD 0
  99. theDialog                 ds.l    1                ; offset: $0 (0)
  100. count                     ds.w    1                ; offset: $4 (4)
  101. theConfig                 ds.l    1                ; offset: $6 (6)
  102. procID                     ds.w    1                ; offset: $A (10)        ;  procID of the tool 
  103. sizeof                     EQU *                    ; size:   $C (12)
  104.                         ENDR
  105. ; typedef struct TMSetupStruct *        TMSetupPtr
  106.  
  107.     ENDIF ; __TERMINALTOOLS__ 
  108.  
  109.